import {guid} from '@/utils/util'

// 列表项数据模板
const taskItemDefaults = {
  name: '',
  progress: 0,
  pause: true
}
export class ListItem {
  constructor(props) {
    Object.assign(this, taskItemDefaults, props)
    this.guid = guid()
  }
}
